package com.gao.transportapi.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * SILICONFLOW平台账户及API密钥管理表
 * </p>
 *
 * @author GWX.cz
 * @since 2025-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("accounts")
public class Accounts implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户唯一标识ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账户余额
     */
    private BigDecimal balance;

    /**
     * 账户是否激活 - TRUE:激活 FALSE:未激活
     */
    private Boolean isActive;

    /**
     * 平台类型名称
     */
    private String platformType;

    /**
     * API密钥
     */
    private String platformKey;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;

    /**
     * 是否删除 - TRUE:已删除 FALSE:未删除
     */
    private Boolean isDeleted;


}
